package com.zx.oa.dao.student;

import com.zx.oa.entity.ShowStudent;
import com.zx.oa.entity.Student;

import java.util.List;

public interface StudentDao {
    List<ShowStudent> getStudentList(String name, String className, String major, int currentPageNo, int pageSize);

    int getStudentTotalCount(String name, String className, String major);

    boolean addStudent(Student student);

    List<ShowStudent> getStudentListAll(String name, String className, String major);

    boolean delStudent(Integer id);

    Student getStudentById(Integer id);

    boolean modifyStudent(Student student);

    boolean getClassInfoCount(int classId);
}
